Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

encode_str

encodings.percent.encode_str

Percent encode (url encode) an utf8 string, as specified in RFC 3986 section 2.1

* The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9" remain the same.
* The special characters "-", ".", "_", and "~" remain the same.
* All other characters are unsafe, their bytes are individually converted to a 3-character string "%HH",
where HH is the two-digit hexadecimal representation of the byte. This also applies to the space character.
0.099dev (GIT hash 02118e9cbed77f3897084a4a507da3f11ac8881e)
last changed: 2026-09-02